home *** CD-ROM | disk | FTP | other *** search
- on enterFrame
- global givTextHiliteColor, givTextRegColor, givState, givDebug, givSELECTFORESPRITE, givSELECTBACKSPRITE
- MessagePut("entering frame ivSelect, init 2...")
- put "DUCK2" && the selectType of givState
- if the selectType of givState = #athlete then
- put "Duck2-1"
- set the castNum of sprite givSELECTFORESPRITE to the number of cast "AthleteSelectText"
- set the locH of sprite givSELECTFORESPRITE to 527
- set the locV of sprite givSELECTFORESPRITE to 206
- set the visible of sprite givSELECTFORESPRITE to 1
- updateStage()
- set the foreColor of cast "AthleteSelectText" to givTextRegColor
- set P to the athleteSelectListPtr of givState
- if P <> 0 then
- set the foreColor of line P of field "AthleteSelectText" to givTextHiliteColor
- end if
- else
- put "Duck2-2"
- set the castNum of sprite givSELECTFORESPRITE to the number of cast "TopicSelectText"
- set the locH of sprite givSELECTFORESPRITE to 527
- set the locV of sprite givSELECTFORESPRITE to 248
- set the visible of sprite givSELECTFORESPRITE to 1
- updateStage()
- set the foreColor of cast "TopicSelectText" to givTextRegColor
- set P to the topicSelectListPtr of givState
- if P <> 0 then
- set the foreColor of line P of field "SelectTextBox" to givTextHiliteColor
- end if
- end if
- end
-